using System;
using System.Collections.Generic;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;

namespace dpatoolkit.UILayer
{
	/// <summary>
	/// represents a abstract widow manager.
	/// </summary>
	public interface IMDIManager
	{
        DockPanel DockPanel
        {
            get;
            set;
        }
		void AddDocument(IMdiChild mdiChild);
        void RemoveDocument(IMdiChild mdiChild);
		IMdiChild CurrentDocument{get;set;}
		IList<IMdiChild> Documents{get;}
		void ShowProjectTreeView(bool isVisible);
		void ShowToolbox(bool isVisible);
		TreeView ProjectTreeView{get;}
		void CloseAllDocuments();

        /// <summary>
        /// Set the application wide status bar control.
        /// </summary>
        ToolStripStatusLabel StatusBar { set; get; }
        void ShowStatusMessage(string msg);
        void ShowStatusMessage(string msg, int timeOutInMilliSeconds);
        void ResetStatusMessage();
	}
}
